package com.yangrong.thread.chapter16;

import java.io.IOException;

public class AppServerClient {

	/*
	 * telnet localhost 13345
	 * 
	 * Ctrl + ]
	 * 
	 * Telnet> quit
	 */
	public static void main(String[] args) throws InterruptedException, IOException {
		AppServer server = new AppServer(13345);
		server.start();

		Thread.sleep(45_000);

		server.shutdown();
	}

}
